* ftfont.c: Distingish more carefully between FcChar8 and char.
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 9 Apr 2011 19:14:12 +0000 (12:14 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 9 Apr 2011 19:14:12 +0000 (12:14 -0700)
commitdc729b8f6494a5a69f3a5fea657625483cc63022
tree9a59cf7ffdec049f10d000d66a75e767d3bae6ce
parent53c04167b4b24be2119a48df06e54f2442427d5f
* ftfont.c: Distingish more carefully between FcChar8 and char.

The previous code passed unsigned char * to a functions like
strlen and xstrcasecmp that expect char *, which does not
conform to the C standard.
(get_adstyle_property, ftfont_pattern_entity): Use FcChar8 for
arguments to FcPatternGetString, and explicitly cast FcChar8 * to
char * when the C standard requires it.
src/ChangeLog
src/ftfont.c